﻿<!-- Page Head -->
<!-----------------------------------
 * @author  :   Yêu Tinh
 * @email   :   domain.web.online@gmail.com
 * @since   :   8-07-2013
 ------------------------------------>
 

<ul style="float: right;" class="shortcut-buttons-set">
	
	<li><a class="shortcut-button png48-save" href="javascript:void(0);" onclick="javascript:document.adminForm.submit();"><span class="png_bg">
		Lưu
	</span></a></li>
	
	<li><a class="shortcut-button png48-info" href="#messages"><span class="png_bg">
		Trợ giúp
	</span></a></li>
	
	<li><a class="shortcut-button png48-cancel" href="<?php echo DOMAINAD.strtolower(basename(dirname(__FILE__)));?>"><span class="png_bg">
		Hủy
	</span></a></li>

</ul><!-- End .shortcut-buttons-set -->

<div class="clear"></div> <!-- End .clear -->


<?php echo $this->Session->flash(); ?>


<div class="content-box"><!-- Start Content Box -->
	<div class="content-box-header">
    
    
		<h3>Cấu hình</h3>
        
        
		<div class="clear"></div>
	</div> <!-- End .content-box-header -->
	<div class="content-box-content">
		<div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->
            <?php echo $this->Form->create(null, array('url' => DOMAINAD.strtolower(basename(dirname(__FILE__))), 'type' => 'post', 'name' => 'adminForm', 'inputDefaults' => array('label' => false, 'div' => false, 'legend'=> false))); ?>
            <?php echo $this->Form->input('Setting.id', array()); ?>
            <table width="100%" class="input">
                <tr>
                    <td width="120" class="label">Tên công ty:</td>
                    <td><?php echo $this->Form->input('Setting.name', array('class' => 'text-input medium-input')); ?></td>
                </tr>
                <tr>
                	<td class="label">Tiêu đề website:</td>
                	<td> <?php echo $this->Form->input('Setting.title', array('class' => 'text-input medium-input')); ?></td>
               	</tr>
                
                <tr>
                    <td class="label">Email:</td>
                    <td> <?php echo $this->Form->input('Setting.email', array('class' => 'text-input medium-input')); ?> </td>
                </tr>
                <tr>
                    <td class="label">Hotline:</td>
                    <td> <?php echo $this->Form->input('Setting.hotline', array('class' => 'text-input medium-input')); ?> </td>
                </tr>
                <tr style="display: none;">
                    <td width="120" class="label">Chữ chạy dưới menu:</td>
                    <td><?php echo $this->Form->input('Setting.address', array('class' => 'text-input medium-input')); ?></td>
                </tr>
                <tr>
                	<td class="label">Giới thiệu footer</td>
                	<td> <?php echo $this->Form->input('Setting.slogan', array('class'=>'text-input large-input')); ?></td>
               	</tr>
                <tr>
                    <td class="label">Cấu hình Footer:</td>
                    <td><?php  echo $this->Form->input('Setting.footer',array('class'=>'ckeditor-mini'));?></td>
                    <td></td>
                </tr>
                <tr>
                    <td class="label">Thông tin liên hệ:</td>
                    <td><?php  echo $this->Form->input('Setting.contactinfo',array('class'=>'ckeditor-mini'));?></td>
                    <td></td>
                </tr>
                <tr>
                    <td class="label">Bản đồ:</td>
                    <td><?php  echo $this->Form->input('Setting.googlemap',array('class'=>'ckeditor'));?></td>
                    <td></td>
                </tr>
                <!--<tr>
                    <td class="label">Điện thoại:</td>
                    <td> <?php echo $this->Form->input('Setting.phone', array('class' => 'text-input medium-input')); ?> </td>
                </tr>
                <tr>
                    <td class="label">Hotline:</td>
                    <td> <?php echo $this->Form->input('Setting.hotline', array('class' => 'text-input medium-input')); ?> </td>
                </tr>
                -->
                <!--<tr>
                    <td class="label">Link website:</td>
                    <td> <?php echo $this->Form->input('Setting.url', array('class' => 'text-input medium-input')); ?> </td>
                </tr>
                <tr>
                    <td class="label">Link facebook:</td>
                    <td> <?php echo $this->Form->input('Setting.facebook', array('class' => 'text-input medium-input')); ?> </td>
                </tr>
                <tr>
                    <td class="label">Link google +:</td>
                    <td> <?php echo $this->Form->input('Setting.google', array('class' => 'text-input medium-input')); ?> </td>
                </tr>
                <tr>
                    <td class="label">Link tiwter:</td>
                    <td> <?php echo $this->Form->input('Setting.tiwter', array('class' => 'text-input medium-input')); ?> </td>
                </tr>
                <tr>
                    <td class="label">Link youtobe:</td>
                    <td> <?php echo $this->Form->input('Setting.youtobe', array('class' => 'text-input medium-input')); ?> </td>
                </tr>-->
                <tr>
                    <td class="label">Từ khóa (SEO):</td>
                    <td>
                        <?php echo $this->Form->input('Setting.meta_key', array('class'=>'text-input large-input')); ?>
                    </td>
                </tr>
                <tr>
                    <td class="label">Mô tả (SEO):</td>
                    <td>
                        <?php echo $this->Form->input('Setting.meta_des', array('class'=>'text-input large-input')); ?>
                    </td>
                </tr>
            </table>
            <?php echo $this->Form->end(); ?>
            <div class="clear"></div>
		</div> <!-- End #tab1 -->       
	</div> <!-- End .content-box-content -->
</div> <!-- End .content-box -->




<ul style="float: right;" class="shortcut-buttons-set">
	
	<li><a class="shortcut-button png48-save" href="javascript:void(0);" onclick="javascript:document.adminForm.submit();"><span class="png_bg">
		Lưu
	</span></a></li>
	
	<li><a class="shortcut-button png48-info" href="#messages"><span class="png_bg">
		Trợ giúp
	</span></a></li>
	
	<li><a class="shortcut-button png48-cancel" href="<?php echo DOMAINAD.strtolower(basename(dirname(__FILE__)));?>"><span class="png_bg">
		Hủy
	</span></a></li>

</ul><!-- End .shortcut-buttons-set -->

<div class="clear"></div>